fix(extension): remove stranded matchPullRequestTarget duplicate from content.js (#8023) - #8054
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Caution 🛑 LoopOver review result - fixes requiredReview updated: 2026-07-22 16:37:15 UTC
Review summary Nits — 2 non-blocking
CI checks failing
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. Visual preview
Click any thumbnail to open the full-size screenshot. Before = production · After = this PR's preview deploy. Scroll preview
A short scroll-through clip (desktop) — click either thumbnail to open the full animation. Evidence for scroll-linked behavior a single screenshot can't show. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
LoopOver is closing this pull request on the maintainer's behalf (CI is failing (validate, validate-tests (1), validate-tests (3), validate-tests (2))). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |

Summary
matchPullRequestTargetfromapps/loopover-extension/content.js— a stranded duplicate ofmatchGitHubPageTarget(minus thekindfield) left behind by fix(extension): drop dead issue-page content-script match #7487's issue-page match removal, along with its__loopoverContentInternalsentry.test/unit/extension-content.test.ts— to stop exercising the removed duplicate. Its useful route coverage is preserved, not dropped: the/pull/146/filessub-page match and the bare/owner/repono-match cases now pinmatchGitHubPageTarget's regex directly, so the retired duplicate's assertions live on against the function that actually ships.matchGitHubPageTarget; the deleted function was reachable solely through the test-internals hook.Closes #8023
Test plan
npx vitest run test/unit/extension-content.test.ts— 5/5 passing against the updated internals surfacenpm run extension:lint+npm run extension:typecheck(the CI checks gated on extension changes)npm run typecheckmatchPullRequestTargetreferences